package cn.net.cfss.fgbp.provider.console;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;


@EnableCircuitBreaker
@SpringBootApplication
@ComponentScan(value = {"cn.net.cfss.fgbp.api.console", "cn.net.cfss.fgbp.base", "cn.net.cfss.fgbp.provider.console"})
//组件扫描
@EnableAsync
@EnableFeignClients(basePackages = {"cn.net.cfss.fgbp.api.uid.inte"})
public class ConsoleApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(ConsoleApplication.class).run(args);
    }

}
